//
//  GroupActive.swift
//  eemall
//
//  Created by zhuxietong on 2019/1/9.
//  Copyright © 2019 tianrun. All rights reserved.
//

import Foundation
import soapp
import Eelay

import AsyncDisplayKit

public struct GroupActive {
    public static var GoodsDetailCtrType = GroupGoodsDetailCtr.self
    public static var GroupDetailCtrType = GroupInfoCtr.self
    
    public static var listInset = UIEdgeInsets.zero
    
    public static func seeDetail(obj:NSMutableDictionary,at:UIViewController?){
        let ctr = GoodsDetailCtrType.init()
        ctr.mo.model = obj
        at?.navigationController?.pushViewController(ctr, animated: true)
    }
    public static func seeGroup(obj:NSMutableDictionary,at:UIViewController?){
        let ctr = GroupDetailCtrType.init()
        ctr.mo.model = obj
        at?.navigationController?.pushViewController(ctr, animated: true)
    }
    
}
